package com.kylin.java1;

public class Test {

    public static void main(String[] args) {
        int a = 3344;
        int n = 0;
        for (int i = 0; i < 4; i++) {
            n = a % 10;
            a = a / 10;
            System.out.println(n);
        }
        System.out.println(String.valueOf(a).length());
    }


}
